package com.mjk.common.tools.scheduled.single.impl;


import com.mjk.common.tools.scheduled.single.SinglePointInterface;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
/**
 * 基于redis的单点执行 判断
 * @author mjk
 *
 */
public class DefaultSingelPointImpl implements SinglePointInterface,ApplicationContextAware{

	@Override
	public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
		// Do nothing
	}

	@Override
	public boolean isSingelRun() {

		return false;
	}

	@Override
	public void registerListener(String node, DataSingleListener listener) {
		// Do nothing
	}

	@Override
	public void setNotic(String node, String value) {
		// Do nothing
	}

	@Override
	public void setNotic(String node, String value, long timeOut) {
		// Do nothing
	}
	
}
